package model

import "gorm.io/gorm"

type TopoView struct {
	gorm.Model
	Name     string `gorm:"not null;unique"`
	Desc     string
	ModuleID uint
	Module   Module
	Modules  []Module `gorm:"many2many:view_modules;delete:CASCADE"`
	Rules    []TopoRule
}
